package com.edison.demo.service;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;

/**
 * @author edison
 */
@FunctionalInterface
public interface DataGenerator {
    CompletableFuture<Integer> generate(int recordCount) throws ExecutionException, InterruptedException;

}
